package edu.umn.contactviewer.datastore;

import java.util.List;

import edu.umn.contactviewer.Contact;

public interface ContactListDataService {
	enum RequestResult {
		SUCCESS("Success"),
		FAIL("Fail");
		
		private final String requestResultText;
		
		private RequestResult(String requestResultText) {
			this.requestResultText = requestResultText;
		}
		
		@Override
		public String toString() {
			return requestResultText;
		}
	}
	
	List<Contact> getContactList();
	RequestResult storeContact(Contact contactToUpdate);
	RequestResult updateContact(Contact contactToUpdate);
	RequestResult deleteContact(Contact contactToDelete);
}
